package com.mike.spring.Basic;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.AbstractXmlApplicationContext;

public class MyXmlApplicationContext extends AbstractXmlApplicationContext {
    public MyXmlApplicationContext(String configLocation){
        this(new String[]{configLocation},null);
    }
    public MyXmlApplicationContext(String[] configLocations,ApplicationContext parent) {
        super(parent);
        this.setConfigLocations(configLocations);
        this.refresh();
    }
}
